function cCmp(actual, test) {
	return (actual.indexOf(test) == 0);
}
  
function isDeck(id) {
	return cCmp(id, 'deck_');
}
 
function isDiscardPile(id) {
	return cCmp(id, 'discardPile_');
}

function isMyHand(id) {
	return (id == 'hand');
}

function isOppHand(id) {
	return cCmp(id, 'hand_');
}